<!DOCTYPE html>
<html>

<head>
    <title>抖音插件</title>
    <meta charset="utf-8">
    <script src="../js/jquery-2.2.4.min.js"></script>
    <link rel="stylesheet" href="../css/popup.css">
</head>

<body>
    <div class="header">
        抖音插件 孔老板良心制作
    </div>
    <div class="content">
        <div class="content-item">
            <div class="content-item-title">请配置推送(进入,关注，礼物,评论)消息的接口地址</div>
            <div class="content-item-input-button">
                <input class="content-item-input" type="text" id="url" placeholder="请输入推送接口地址">
                <button class="content-item-button" id="setPushApi">设置</button>
            </div>
        </div>
        <div class="content-item">
            <div class="content-item-title">开启欢迎语音</div>
            <div class="content-item-input-button">
                <input class="content-item-input" type="text" id="sayWelcome" placeholder="0关1开">
                <button class="content-item-button" id="setSayWelcome">设置</button>
            </div>
        </div>
        <div class="content-item">
            <div class="content-item-title">开启礼物语音</div>
            <div class="content-item-input-button">
                <input class="content-item-input" type="text" id="sayGift" placeholder="0关1开">
                <button class="content-item-button" id="setSayGift">设置</button>
            </div>
        </div>
        <div class="content-item" style="margin-bottom: 20px">
            <div class="content-item-title">请配置推送消息格式{{userName}}是用户姓名</div>
            <div class="content-item-input-button">
                <textarea class="content-item-input" type="text" id="sendConfig" placeholder="请配置消息格式">{"sayWelcome": "欢迎{{userName}}来到直播间，您可以向chatGPT提一个问题","sayGift": "谢谢{{userName}}送的礼物，您可以向chatGPT提一个问题"}</textarea>
                <button class="content-item-button" id="setSendConfig">设置</button>
            </div>
        </div>
    </div>
    <div class="footer">
        <div class="footer-item">
            <div class="footer-item-title">作者Q：1729051657</div>
        </div>
    </div>
    <script src="popup.js"></script>
</body>

</html>
